
let initialState = true;

export default function (state = initialState, action) {
    let { type, payload } = action;

    switch (type) {
        case "CHANGE_STATUS":
            return !state

        default:
            return state
    }
}